//
//  TJScreenBackgroundView.h
//  Unionpay
//
//  Created by admin on 2021/11/1.
//  Copyright © 2021 YAZX. All rights reserved.
//
//  全屏背景View

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^closeBlock)(BOOL isClose);

@interface TJScreenBackgroundView : UIView

@property (nonatomic, assign) BOOL closeTouchEnable;  // 点击关闭手势，默认：开启

- (void)show:(closeBlock)closeBlock;  // 显示到全屏，实现block，获取关闭动作

- (void)close;  // 关闭

@end

NS_ASSUME_NONNULL_END
